package com.lyd.collections.stream;

import java.util.Arrays;

/**
 * @Author:lyd
 **/
public class StreamDemo4 {
    public static void main(String[] args) {
        //数组        public static <T> Stream<T> stream(T[] array)     Arrays工具类中的静态方法
        String[] str = {"aa", "bb", "cc", "dd"};
        Arrays.stream(str).forEach(System.out::println);
    }
}
